Packetery\Module\Upgrade S

Total Complexity 38
Dependencies 20
Dependents 1
Total lines 410
Lines of code 206
Logical lines of code 102
Comment lines 121
Methods 12
Properties 7

Methods 12

Method Rating Maintainability Complexity Lines of code
check()
A
42 14 52
migrateWpOrderMetadata()
S
39 4 74
getValidatedAddressIdByOrderId()
S
58 2 16
getMetaAsNullableString()
S
73 3 4
getMetaAsNullableFloat()
S
73 3 4
createCustomsDeclarationTables()
S
67 3 8
createLogTable()
S
67 2 8
createCarrierTable()
S
73 2 5
createOrderTable()
S
73 2 5
createAddressFromPostId()
S
61 1 12
__construct()
S
65 1 9
flashAndLog()
S
64 1 9